<template>
  <aside class="rl-aside" :style="asideWidth">
    <slot>Aside</slot>
  </aside>
</template>

<script setup lang="ts">
import type { WidthProps } from './types';
import { computed } from 'vue';

defineOptions({
  name:'RlAside'
})
const props = defineProps<WidthProps>()

const asideWidth = computed(()=>{
  return{
    width:(props.Width || 200)+'px'
  }
})

</script>
